<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>用户管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%@include file="../../common/Include_input_head.jsp" %>
    <script type="text/javascript" src="${basePath }/component/datepicker/WdatePicker.js"></script>
    <script type="text/javascript">
        detailPageStyle();

        function doSave() {
            if (isValidateForm()) {
                super_doSave();
            }
        }
    </script>
    <style type="text/css">
        .w80{
            width: 80px;
        }
        .w230{
            width: 230px;
        }
    </style>
</head>

<body style="text-align:center;">

<s:form name="theform" method="post" theme="simple">
    <s:hidden name="sysUser.userid"/>

    <div class="box1" panelWidth="100%">
        <fieldset>
            <legend>用户信息</legend>
            <table class="tableStyle" transMode="true" footer="normal">
                <tr>
                    <td align="right" width="10%" nowrap="nowrap">登录id：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.userloginid" id="userloginid"/>
                        <label style="color:red">*</label></td>
                    <td align="right" width="10%" nowrap="nowrap">用户姓名：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.username" id="username" maxlength="30"
                                                              size="31"/>
                        <label style="color:red">*</label></td>
                </tr>
                <tr>
                    <td align="right" width="10%" nowrap="nowrap">用户密码：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.userpwd" id="userpwd"/>
                        <label style="color:red">*</label></td>
                    <td align="right" width="10%" nowrap="nowrap">所在部门：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.userdepart" id="userdepart" maxlength="30"
                                                              size="31" />
                        <label style="color:red">*</label></td>
                </tr>
                <tr>
                    <td align="right" width="10%" nowrap="nowrap">状态：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.state" id="state" maxlength="30"
                                                              size="31" />
                        <label style="color:red">*</label></td>
                    <td align="right" width="10%" nowrap="nowrap">身份类型：</td>
                    <td width="40%" align="left"><s:textfield name="sysUser.usertype" id="usertype" maxlength="30"
                                                              size="31" />
                        <label style="color:red">*</label></td>
                </tr>
            </table>
        </fieldset>

        <div class="padding_top10">
            <table class="tableStyle" transMode="true">
                <tr>
                    <td colspan="4">
                        <input type="button" id="ysSaveButton" value=" 保 存 " onclick="doSave()"/>
                        <input type="button" value=" 关 闭 " onclick="parent.closeEntityWindow()"/>
                        <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
						<span id="SystemErrorMessage" style="top: 20px">
							<s:actionerror cssStyle="color:red"/>
							<s:actionmessage cssStyle="color:blue"/>
							<s:fielderror/>
						</span>
                        </s:if>
                    </td>
                </tr>
            </table>
        </div>
    </div>

</s:form>
</body>
</html>
